|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The generic type of individuals.public interface IValidationRule<T extends IIndividual<T>>
Interface for a rule used by the RuleValidator
.
Nested Class Summary | |
---|---|
static class |
IValidationRule.Type
Type of the rule. |
Method Summary | |
---|---|
IValidationRule.Type |
getType()
Getter for the type of this rule. |
float |
matchingDegree(T individual,
GAContext context)
Calculates the matching degree in [0;1] for this rule. |
Method Detail |
---|
float matchingDegree(T individual, GAContext context)
individual
- The individual to test.context
- The GA context.
IValidationRule.Type getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |